#include <iostream>
using namespace std;
#include "point2.h"

Point2::Point2(int xValue, int yValue)
{
	x = xValue;
	y = yValue;
}
void Point2::setX(int xValue)
{
	x = xValue;
}
int Point2::getX() const
{
	return x;
}
void Point2::setY(int yValue)
{
	y = yValue;
}
int Point2::getY() const
{
	return y;
}

void Point2::print() const
{
	cout << "[" << x << "," << y << "]" << "\n";
}
